import Vue from 'vue'
import Router from 'vue-router'
// import home from './views/Home.vue'
import home from "./components/homeconer.vue"
import a from "./components/a.vue"
import b from "./components/b.vue"
import c from "./components/c.vue"
import NuewsList from './components/nuws/NuewsList.vue'
import particularss from "./components/nuws/particulars.vue"
import drawing from "./components/nuws/drawing.vue"
import particular from "./components/nuws/particular.vue"
import commodity from "./components/goods/commodity.vue"
import commshops from "./components/goods/commshops.vue"
import ltuthu from "./components/subComponents/ltuthu.vue"
import commtens from "./components/subComponents/gogdsCommtens.vue"

Vue.use(Router)

export default new Router({
  routes: [
    {path:'/',redirect:"/home"},
    {path: '/a',component: a},
    {path:"/home",component:home},
    {path:"/b",component:b},
    {path:"/c",component:c},
    {path:"/home/news",component:NuewsList},
    {path:"/home/newss/:id",component:particularss},
    {path:"/home/drawing",component:drawing},
    {path:"/home/particular/:id",component:particular},
    {path:"/home/commodity",component:commodity},
    {path:"/home/commshops/:id",component:commshops},
    {path:"/home/ltuthu/:id",component:ltuthu},
    {path:"/home/commtens/:id",component:commtens}
    
  ],linkActiveClass:"mui-active"
})
